package cpr.command.test;

import cpr.DefaultCommandHandler;
import cpr.context.SolveContext;
import cpr.data.HLVector;

public class CmdTstGetAR extends DefaultCommandHandler {
	public CmdTstGetAR() {
		super("tst-sol-get-ar", "test performance of get AR", "size score count",null);
	}

	public void execute(String[] params) throws Exception {
		int size = getParameterInteger(params, 1,100);
		int score = getParameterInteger(params, 2,new HLVector(new int[] {5,4,4,3,6}).score);
		int count = getParameterInteger(params, 3,100);
		
		SolveContext solveContext=  getCommandContext().getContext().assertCurrentSolveContext();
		solveContext.tst_perf_GET_AR(size,score,count);
	}

}
